package cn.work100.modular.layuiMsn.entity.db;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 好友关系
 * </p>
 *
 * @author LHX
 * @since 2019-06-05
 */
@TableName("work_friend")
public class LayimUserFriend implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("userId")
    private Long userId;

    /**
     * 好友id
     */
    @TableField("friendId")
    private String friendId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getFriendId() {
        return friendId;
    }

    public void setFriendId(String friendId) {
        this.friendId = friendId;
    }

    @Override
    public String toString() {
        return "LayimUserFriend{" +
        "id=" + id +
        ", userId=" + userId +
        ", friendId=" + friendId +
        "}";
    }
}
